import { createApp } from "vue";
import ElementPlus, { ElIcon } from "element-plus";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";

const app = createApp(App);

for (let iconName in ElIcon) {
  app.component(iconName, ElIcon[iconName]);
}

app.use(ElementPlus);

app.use(router);

app.mount("#app");
